Isomorphisms considered as equalities: Projecting functions and enhancing partial application through and implementation of lambda+

نویسندگان

  • Alejandro Díaz-Caro
  • Pablo E. Martínez López
چکیده

We propose an implementation of λ + , a recently introduced simply typed lambda-calculus with pairs where isomorphic types are made equal. The rewrite system of λ + is a rewrite system modulo an equivalence relation, which makes its implementation non-trivial. We also extend λ + with natural numbers and general recursion and use Beki´c's theorem to split mutual recursions. This splitting, together with the features of λ + , allows for a novel way of program transformation by reduction, by projecting a function before it is applied in order to simplify it. Also, currying together with the associativity and commutativity of pairs gives an enhanced form of partial application.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Inequalities of Ando's Type for $n$-convex Functions

By utilizing different scalar equalities obtained via Hermite's interpolating polynomial, we will obtain lower and upper bounds for the difference in Ando's inequality and in the Edmundson-Lah-Ribariv c inequality for solidarities that hold for a class of $n$-convex functions. As an application, main results are applied to some operator means and relative operator entropy.

متن کامل

Fixed Point Theorems for semi $lambda$-subadmissible Contractions in b-Metric spaces

Here, a new certain class of contractive mappings in the b-metric spaces is introduced. Some fixed point theorems are proved which generalize and modify the recent results in the literature. As an application, some results in the b-metric spaces endowed with a partial ordered are proved.

متن کامل

Une étude des sommes fortes : isomorphismes et formes normales. (A study of strong sums: isomorphisms and normal forms)

A study of strong sums: isomorphisms and normal forms The goal of this thesis is to study the sum and the zero within two principal frameworks: type isomorphisms and the normalization of λ-terms. Type isomorphisms have already been studied within the framework of the simply typed λ-calculus with surjective pairing but without sums. To handle the case with sums and zero, I first restricted the s...

متن کامل

Access and Mobility Policy Control at the Network Edge

The fifth generation (5G) system architecture is defined as service-based and the core network functions are described as sets of services accessible through application programming interfaces (API). One of the components of 5G is Multi-access Edge Computing (MEC) which provides the open access to radio network functions through API. Using the mobile edge API third party analytics applications ...

متن کامل

تأثیر مقیاس زمان سرمایش و غیر ایده‌آل بودن گاز در امواج ضربه ای

According to the suddenly compression of the matters in some regions of the compressible fluids, the density and temperature suddenly increases, and shockwaves can be produced. The cooling of post-shock region and non-idealness of the equation of state, $p=(k_B/mu m_p)rho T (1+brho) equivmathcal{K}rho T (1+eta R)$, where $mu m_p$ is the relative density of the post-shock gas and $Requiv rho_2 /...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1511.09324  شماره 

صفحات  -

تاریخ انتشار 2015